package com.syp.test.clustercacheflush.service;

/**
 * 
 * @author syp
 * @update 2016年7月14日 上午10:05:59
 */
public enum TaskStatus {
	
	INITIALIZE(0, "子任务初始化"), 
	LOCK(1, "子任务锁定"), 
	FINISH(2, "子任务完成");
	
	private final Integer status;
	private final String desc;

	private TaskStatus(Integer status, String desc) {
		this.status = status;
		this.desc = desc;
	}

	public Integer getStatus() {
		return status;
	}

	public String getDesc() {
		return desc;
	}
}
